<?xml version="1.0" encoding="ISO-8859-1"?>

<xform style="manual">
<table border="1" cellspacing="0" cellpadding="2">

 <tr>
  <th colspan="2" class="xform-title">
   <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <tr>
     <th align="left" class="xform-title">
      Print Properties
     </th>
     <td align="right" class="xform-close-button">
      <imgButton src="wcf/form/cancel.gif" action="revert" label="Close" hide="true" handler="com.tonbeller.wcf.form.ButtonHandler"/>
     </td>
    </tr>
   </table>
  </th>
 </tr>

 <tr>
  <td>Report Title</td>
  <td>
   <textField type="string" modelReference="reportTitle" size="30" title="enter a title for this report"/>
  </td>
 </tr>
 <tr>
  <td>Page Orientation</td>
  <td>
      <listBox1 type="string" modelReference="pageOrientation">
            <listItem value="portrait" label="Portrait"/>
            <listItem value="landscape" label="Landscape"/>
       </listBox1>
  </td>
 </tr>
  <tr>
  <td>Paper Size</td>
  <td>
     <listBox1 type="string" modelReference="paperType">
	<listItem value="USletter" label="USletter"/>
	<listItem value="A3" label="A3"/>
	<listItem value="A4" label="A4"/>
	<listItem value="A5" label="A5"/>
	<listItem value="custom" label="custom"/>
        <listItem value="auto" label="auto"/>
   </listBox1>
   </td>
  </tr>
  <tr>
  <td>Custom Height/Width</td>
  <td>
   <textField type="double" modelReference="pageHeight" size="4" title="enter Page Height (cm)"/>cm
   <textField type="double" modelReference="pageWidth" size="4" title="enter Page Width (cm)"/>cm  (0=default A4)
  </td>
 </tr>

 <tr>
  <td>Table Width</td>
  <td>
   <checkBox modelReference="setTableWidth"/>(off = auto)
   <textField type="double" modelReference="tableWidth" size="4" title="enter Table Width (cm)"/>cm
  </td>
 </tr>
  <tr >
   <td colspan="2" align="left">Chart on separate page
   <checkBox modelReference="chartPageBreak"/>
   </td>
  </tr>

 <tr>
  <td align="right" colspan="4">
    <button action="validate" label="OK" handler="com.tonbeller.wcf.form.ButtonHandler" hide="true"/>
    <button action="revert" label="Cancel" handler="com.tonbeller.wcf.form.ButtonHandler" hide="true"/>
  </td>
 </tr>

</table>

</xform>
